package intellitor.sqlparser.ori;

import java.io.FileInputStream;
import java.io.InputStream;

/**
 * 对象读取的默认实现
 * 从指定的路径获取输入流
 * @author DevilSoul
 * @since 2015-10-28
 * @version 1.0.0
 * @see ObjReadable
 */
public class DefaultObjReader implements ObjReadable<InputStream, String> {

	@Override
	public InputStream read(String obj) throws Exception {
		return new FileInputStream(obj);
	}

}
